﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PrintPeceipt.Utility
{
    public class Peceipts
    {
        /// <summary>
        /// 订单编号
        /// </summary>
        public string ReceiptNum { get; set; }
        /// <summary>
        /// 标题
        /// </summary>
        public string Title { get; set; }
        /// <summary>
        /// 订单日期
        /// </summary>
        public string ReceiptDate { get; set; }
        /// <summary>
        /// 客户
        /// </summary>
        public string Customer { get; set; }
        /// <summary>
        /// 电话
        /// </summary>
        public string Number { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remarks { get; set; }
        /// <summary>
        /// 送货地址
        /// </summary>
        public string Address { get; set; }
        /// <summary>
        /// 送货人
        /// </summary>
        public string Delivery { get; set; }
        /// <summary>
        /// 收货人
        /// </summary>
        public string Consignee { get; set; }
        /// <summary>
        /// 联系人
        /// </summary>
        public string Contact { get; set; }

        /// <summary>
        /// 联系电话
        /// </summary>
        public string ContactNumber { get; set; }

        /// <summary>
        /// 联系微信
        /// </summary>
        public string Wechat { get; set; }
        /// <summary>
        /// 订单列表
        /// </summary>
        public Peceipt[] PeceiptList { get; set; }
    }


    /// <summary>
    /// 订单
    /// </summary>
    public class Peceipt
    {
        /// <summary>
        /// 序号
        /// </summary>
        public string Num { get; set; }
        /// <summary>
        /// 条码
        /// </summary>
        public string BarCode { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string ProductName { get; set; }
        /// <summary>
        /// 规格
        /// </summary>
        public string Specification { get; set; }
        /// <summary>
        /// 计量单位
        /// </summary>
        public string Unit { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public string Count { get; set; }
        /// <summary>
        /// 单价
        /// </summary>
        public string Price { get; set; }
        /// <summary>
        /// 合计
        /// </summary>
        public string Total { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
    }
}
